ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.WIC Namespace / DdsFrameDecode Class / CopyBlocks Method / CopyBlocks(Nullable<RectL>,Int32,DataStream) Method
The rectangle to copy from the source. A null value specifies the entire texture. If the texture uses a block-compressed C1.Util.DX.DXGI.Format, all values of the rectangle are expressed in number of blocks, not pixels.
The stride, in bytes, of the destination buffer. This represents the number of bytes from the buffer reference to the next row of data. If the texture uses a block-compressed C1.Util.DX.DXGI.Format, a "row of data" is defined as a row of blocks which contains multiple pixel scanlines.
A reference to the destination buffer.

In This Topic
    CopyBlocks(Nullable<RectL>,Int32,DataStream) Method
    In This Topic
    Requests pixel data as it is natively stored within the DDS file.
    Syntax
    'Declaration
     
    Public Overloads Sub CopyBlocks( _
       ByVal boundsInBlocks As System.Nullable(Of RectL), _
       ByVal stride As System.Integer, _
       ByVal destination As DataStream _
    ) 
    public void CopyBlocks( 
       System.Nullable<RectL> boundsInBlocks,
       System.int stride,
       DataStream destination
    )

    Parameters

    boundsInBlocks
    The rectangle to copy from the source. A null value specifies the entire texture. If the texture uses a block-compressed C1.Util.DX.DXGI.Format, all values of the rectangle are expressed in number of blocks, not pixels.
    stride
    The stride, in bytes, of the destination buffer. This represents the number of bytes from the buffer reference to the next row of data. If the texture uses a block-compressed C1.Util.DX.DXGI.Format, a "row of data" is defined as a row of blocks which contains multiple pixel scanlines.
    destination
    A reference to the destination buffer.
    See Also